package com.alibaba.citrus.cr.sales.plan.api.setting;

import com.alibaba.citrus.cr.sales.plan.dto.api.request.PageQuerySalesPlanStrategyRequest;
import com.alibaba.citrus.cr.sales.plan.dto.api.request.QuerySalesPlanStrategyRequest;
import com.alibaba.citrus.cr.sales.plan.sdo.SalesPlanStrategySDO;
import com.alibaba.cz.base.tool.page.PageResult;
import com.alibaba.lattice2.epoch.meshflow.model.annotation.MeshFlowService;
import com.alibaba.lattice2.epoch.sdk.model.Result;

import java.util.List;

@MeshFlowService(apps = {"bc_order"}, name = "SalesPlanStrategyQueryService")
public interface SalesPlanStrategyQueryService {

    /*
     * 分页查询计划策略
     */
    Result<PageResult<List<SalesPlanStrategySDO>>> pageQuerySalesPlanStrategyList(PageQuerySalesPlanStrategyRequest pageQuerySalesPlanStrategyRequest);

    /*
     * 根据id查询计划策略
     */
    Result<SalesPlanStrategySDO> queryProductPlanInfoById(QuerySalesPlanStrategyRequest QuerySalesPlanStrategyRequest);
}
